﻿//* Copyright(C) 2005-2012, all rights reserved.
//*
//* The following code is copyrighted and contains proprietary information
/* and trade secrets of Foxit Software Inc.      
**************************************************************************
*/

/**
Form页面事件响应类
*/



define(function (require, exports, module) {

    var IReader_PageEventHandler = FXREADER.Event.IReader_PageEventHandler;
    var Interface = FXREADER.Interface;
    var CForm_PageEventHandler = function (pFormPlugin) {
        this.m_pFormPlugin = pFormPlugin;
    };

    CForm_PageEventHandler.prototype.OnPageVisible = function (pPageView, contentPanelWidth, contentPanelHeight, contentPanelOffset) {
        this.m_pFormPlugin.OnPageVisible(pPageView, contentPanelWidth, contentPanelHeight, contentPanelOffset);
    };
    
    CForm_PageEventHandler.prototype.OnPageShowComplete = function (pPageView) {
        this.m_pFormPlugin.OnPageShowComplete(pPageView);
    };

    CForm_PageEventHandler.prototype.OnPageInvisible = function (pPageView) {
        this.m_pFormPlugin.OnPageInvisible(pPageView);
    };

    FXREADER.Event.CForm_PageEventHandler = CForm_PageEventHandler;


    return FXREADER.Event.CForm_PageEventHandler;
});